package android.team.app.utility;

import android.team.app.MyApplication;
import android.util.Log;

/**
 * 
 * @author Nam_BT
 *
 *Build the log method
 *
 */

public class SmartLogUtility {
	//.................log.d()..................//
	public static void logD(String TAG, String MESSAGE){
		
		if(MyApplication.DEBUG_MODE){
			Log.d(TAG, MESSAGE);
		}
		
	}
	
	//.................log.e()..................//
	public static void logE(String TAG, String MESSAGE){
		if(MyApplication.DEBUG_MODE){
			Log.e(TAG, MESSAGE);
		}
	}
	
	//.................log.w()..................//
	public static void logW(String TAD, String MESSAGE){
	
		if(MyApplication.DEBUG_MODE){
			Log.w(TAD, MESSAGE);			
		}
	
	}
}
